xenpaging: remove unused spinlock in pager
authorOlaf Hering <olaf@aepfle.de>
Fri, 10 Jun 2011 08:47:02 +0000 (10:47 +0200)
committerOlaf Hering <olaf@aepfle.de>
Fri, 10 Jun 2011 08:47:02 +0000 (10:47 +0200)
commit7910d6f2a5ac513fc01acc88aa7374a06ee0144b
tree2034a7a4e4e006fbe09341fb294ea56009004b02
parentf37f72f2ccafe0566778b3e238c313d5fed364e4
xenpaging: remove unused spinlock in pager

The spinlock code in the pager is a no-op because xenpaging is a single
threaded application. There is no locking when put_response() places a
response into the ringbuffer.
The only locking is inside the hypervisor, where mem_event_put_request() and
mem_event_get_response() lock the ringbuffer to protect multiple vcpus from
each other.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xenpaging/mem_event.h
tools/xenpaging/spinlock.h [deleted file]
tools/xenpaging/xenpaging.c
tools/xenpaging/xenpaging.h